/* .wide {
    border: 1px solid red;
} */

.med {
    display: flex;
    justify-content: center;
}

.med >div:nth-child(1){
    /* border: 1px solid black; */
    width: 1500px;
}

/* ---------------------------第一大div之新闻动态与图片---------------------------------------- */
/* 设置背景图与新闻动态与图片居中 */
.med > div:nth-child(1) >div:nth-child(1) {
    margin-top: -150px;
    display: flex;
    justify-content: center;
    background-image: url('../img/3_fhea.png');
    background-size: 100% 100%;
    width: 1500px;
    height: 700px;
}

/* 设置包裹新闻动态与图片的div的尺寸 */
.med > div:nth-child(1) >div:nth-child(1) > div:nth-child(1) {
    width: 1200px;
    /* border: 1px solid red; */
}

/* 设置包裹图片div的div的尺寸 */
.med > div:nth-child(1) >div:nth-child(1) > div:nth-child(1) > div:nth-child(2) {
    display: flex;
    justify-content: center;
}

/* 设置包裹图片的div的尺寸 */
.med > div:nth-child(1) >div:nth-child(1) > div:nth-child(1) > div:nth-child(2) > div:nth-child(1) {
    width: 900px;
    height: 320px;
    /* border: 1px solid red; */
    display: flex;
    justify-content: center;
}

/* 设置包裹图片的完全填充 */
.med > div:nth-child(1) >div:nth-child(1) > div:nth-child(1) > div:nth-child(2) > div:nth-child(1) img {
    width: 100%;
    height: 100%;
}

/* ------------------------标题内容--------------------------- */
/* 设置包裹标题的div格式 */
.med > div:nth-child(1) > div:nth-child(2) {
    margin-top: -300px;
    display: flex;
    justify-content: center;
    /* border: 1px solid red; */
    color: gray;
    text-align: center;
    font-size: 15px;
    margin-bottom: 20px;
}

/* 设置副标题的颜色与字体 */
.med > div:nth-child(1) > div:nth-child(2) > div:nth-child(1)> div:nth-child(2) {
    color: green;
    font-size: 20px;
}

/* ----------------------------输入框--------------------------------------- */
/* 设置包裹输入框与按钮的div的div的格式 */
.med > div:nth-child(1) > div:nth-child(3) {
    display: flex;
    justify-content: center;
}

/* 设置包裹输入框与按钮div的尺寸 */
.med > div:nth-child(1) > div:nth-child(3) >div:nth-child(1) {
    width: 1000px;
}

/* 设置每组输入框的布局 */
.med > div:nth-child(1) > div:nth-child(3) >div:nth-child(1) >div {
    color: grey;
    margin-top: 15px;
} 


/* 设置所有输入框的尺寸与布局 */
.med > div:nth-child(1) > div:nth-child(3) >div:nth-child(1) >div > div:nth-child(2) {
    margin-top: 5px;
    height: 30px;
    border: 1px dashed gray;
    padding: 5px;
    line-height: 30px;
}

/* 设置内容输入框尺寸 */
.med > div:nth-child(1) > div:nth-child(3) >div:nth-child(1) >div:nth-child(3) > div:nth-child(2) {
    height: 200px;
}

/* -------------------------------按钮--------------------------------- */
.med >  div:nth-child(1) > div:nth-child(3) >div:nth-child(1) >div:nth-child(4) {
    height: 30px;
    width: 120px;
    background-color: green;
    color: white;
    padding: 5px 5px;
    text-align: center;
    cursor: pointer;
    margin-top: 20px;

}